package com.ktgj.hotel.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ktgj.common.core.annotation.Excel;
import com.ktgj.common.core.web.domain.BaseEntity;

import java.util.Date;

/**
 * 酒店差异对象 hotel_differences
 * 
 * @author ruoyi
 * @date 2022-01-13
 */
public class HotelDifferences {
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单id */
    @Excel(name = "订单id")
    private Long orderid;

    /** 渠道id */
    @Excel(name = "渠道id")
    private String supplierorderid;

    /** 酒店id */
    @Excel(name = "酒店id")
    private String hotelid;

    /** 酒店名称 */
    @Excel(name = "酒店名称")
    private String hotelname;

    /** 对用户展示订单状态 */
    @Excel(name = "对用户展示订单状态")
    private Long showstatus;

    /** 订单状态（与对用户展示状态相关联） */
    @Excel(name = "订单状态", readConverterExp = "与=对用户展示状态相关联")
    private String status;

    /** 订单类型（1：现付、2：担保、3：预付） */
    @Excel(name = "订单类型", readConverterExp = "1=：现付、2：担保、3：预付")
    private Long ordertype;

    private Date createTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderid(Long orderid) 
    {
        this.orderid = orderid;
    }

    public Long getOrderid() 
    {
        return orderid;
    }
    public void setSupplierorderid(String supplierorderid) 
    {
        this.supplierorderid = supplierorderid;
    }

    public String getSupplierorderid() 
    {
        return supplierorderid;
    }
    public void setHotelid(String hotelid) 
    {
        this.hotelid = hotelid;
    }

    public String getHotelid() 
    {
        return hotelid;
    }
    public void setHotelname(String hotelname) 
    {
        this.hotelname = hotelname;
    }

    public String getHotelname() 
    {
        return hotelname;
    }
    public void setShowstatus(Long showstatus) 
    {
        this.showstatus = showstatus;
    }

    public Long getShowstatus() 
    {
        return showstatus;
    }
    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }
    public void setOrdertype(Long ordertype) 
    {
        this.ordertype = ordertype;
    }

    public Long getOrdertype() 
    {
        return ordertype;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("orderid", getOrderid())
            .append("supplierorderid", getSupplierorderid())
            .append("hotelid", getHotelid())
            .append("hotelname", getHotelname())
            .append("showstatus", getShowstatus())
            .append("status", getStatus())
            .append("ordertype", getOrdertype())
            .append("createTime", getCreateTime())
            .toString();
    }
}
